﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.WeixinMP.Models
{
    public class WeixinEvent
    {
        /// <summary>
        /// 事件类型，subscribe(订阅)、unsubscribe(取消订阅)、CLICK(自定义菜单点击事件)
        /// </summary>
        [WeixinDataAtr("event", "Event", 1, XmlValueType.StringValue, false)]
        public string Event { set; get; }
        /// <summary>
        /// 事件KEY值，与自定义菜单接口中KEY值对应
        /// </summary>
        [WeixinDataAtr("event", "EventKey", 2, XmlValueType.StringValue, false)]
        public string EventKey { set; get; }
    }
}
